﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using YXQ.Dao.ViewModel;
using YXQ.Service;

namespace YXQ.Manager.Manager
{
    public partial class PriceList : BaseAdminPage
    {
        public ProjectModel pmodel = new ProjectModel();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack) {
                LoadData();
            }
        }

        private void LoadData()
        {
            int proid = 0;
            if (Request["proid"] != null) {
                proid = Convert.ToInt32(Request["proid"]);
            }
            pmodel = CenterService.projectService.GetOneById(proid);
        }
    }
}